﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NbMeterServices.Entity
{
    [SugarTable("MR_House", "房屋信息")]
    public class MrHouse 
    {
        /// <summary>
        /// 雪花Id
        /// </summary>
        [SugarColumn(ColumnName = "Id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 房屋编号
        /// </summary>
        [SugarColumn(ColumnName = "HouseNo", ColumnDescription = "房屋编号", Length = 32)]
        public int? HouseNo { get; set; }

        /// <summary>
        /// 业主ID
        /// </summary>
        [SugarColumn(ColumnName = "IDNumber", ColumnDescription = "证件号码")]
        public string? IDNumber { get; set; }

        /// <summary>
        /// 软删除
        /// </summary>
        [SugarColumn(ColumnDescription = "软删除")]
        public virtual bool IsDelete { get; set; } = false;
    }
}
